
#ifndef DESIGN_PATTERNS_OBSERVER_BUTTON_H
#define DESIGN_PATTERNS_OBSERVER_BUTTON_H

#include "Component.h"

class Button : public observer::Component
{
private:
  char* name_;

public:
  explicit Button(const char* name);

  void Click();

  ~Button() override;
};

#endif //DESIGN_PATTERNS_OBSERVER_BUTTON_H
